package com.bt.lms.ui.action.registration.stu;

import com.bt.lms.ui.page.common.action.pageenp.ApplyStuLabAction;
import com.bt.lms.ui.page.stu.PageMainStudentList;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

/**
 * 添加学生界面关闭按钮事件
 */
public class PageAddStuCloseBtnAction implements EventHandler {





    @Override
    public void handle(Event event) {

        PageMainStudentList pageMainStudentList = new PageMainStudentList();
        Pane pane = ApplyStuLabAction.pageSkipInfo.getPane();
        Integer index = ApplyStuLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index, pageMainStudentList);



    }
}
